home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 71
/
MOBICLIC 71.ISO
/
mac
/
DATA
/
COMMUN
/
temp0001
/
00263_Script_GESTION_BTON_FERMETURE_ENCADRE
< prev
next >
Wrap
Text File
|
2004-12-05
|
1KB
|
47 lines
property p_cettePiste, p_Nodepiste,p_nom_Acteur,p_retour
----------------------------------
on getPropertyDescriptionList
return [#p_retour:[#comment:"label de retour",#format: #string,#default:"no_change"]]
end getPropertyDescriptionList
--------------------------------
on beginsprite me
p_Nodepiste = me.spriteNum
p_cettePiste = sprite(p_Nodepiste)
p_nom_Acteur = p_cettePiste.member.name
end
-----------------------------------
on mouseEnter
if the pauseState = 1 then exit
cursor 280
p_cettePiste. member = p_nom_Acteur&"_R"
updateStage
end
-----------------------------------
on mouseWithin
if the pauseState = 1 then exit
cursor 280
end
---------------------------------
on mouseLeave
if the pauseState = 1 then exit
cursor -1
puppetsprite p_Nodepiste , FALSE
end
-----------------------------------
on mouseUp
if the pauseState = 1 then exit
cursor -1
window("ENCADRE_TEMP").close()
window("ENCADRE_TEMP").forget()
tell the stage
niveauSon()
case(p_retour) of
"no_change":
go the frame--pour dΘbloquer la pause
otherwise:
go p_retour
end case
end tell
end
-----------------------------------